package cn.zzuli.springcloud.controller;

import cn.zzuli.springcloud.service.IMessageProvider;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Date: 2020/12/23 21:26
 * @Author: 绯色下午茶
 * @Description:
 */
@RestController
public class SendMessageController {
    @Resource
    private IMessageProvider provider;

    @GetMapping(value = "/sendMessage")
    public String sendMessage(){
        return provider.send();
    }
}
